package com.sny.constants;

/**
 * @Author:yangxupeng
 * @Description:
 * @Date: 2020/7/31 11:30 上午
 * @Modified:
 */
public class EcspConstants {
    /** 返回码 */
    public static final String RET_CODE = "retCode";

    /** 返回消息 */
    public static final String RET_MSG = "retMsg";

    /** 业务码：用于代表当前操作的业务模块或者功能 */
    public static final String BUSI_CODE = "busiCode";

    /** 当前页 */
    public static final String PAGE = "page";

    /** 每页记录数 */
    public static final String PAGE_SIZE = "pageSize";

    /** 总记录数 */
    public static final String TOTAL_NUM = "totalNum";

    /** 总页数 */
    public static final String TOTAL_PAGE = "totalPage";

    /** 搜索关键字 */
    public static final String KEYWORD = "keyword";

    /** 搜索关键字 */
    public static final String HEAD_ORDERBY = "orderBy";

    /** 搜索关键字 */
    public static final String HEAD_ORDER = "order";

    /** 数据内容 */
    public static final String DATA = "data";

    /** 消息头 */
    public static final String HEADER = "header";

    /**
     * 消息头--返回码
     */
    public static final String HEADER_RETCODE = "header.retCode";
    /**
     * 消息头--返回消息
     */
    public static final String HEADER_RETMSG = "header.retMsg";

    /** 消息体 */
    public static final String BODY = "body";

    public static final String REQ_FORMAT_DEFAULT = "html";

    public static final String REQ_AJAX_FORMAT_DEFAULT = "json";

    public static final String APP_4_TERMINAL = "terminal";

    public static final String SUCESS ="000000";

    public static final String FAIL ="999999";

    /** 返回码：校验失败 -- 000111 */
    public static final String VALID_ERROR = "000111";

    /** 返回码：未授权 -- 000401 */
    public static final String NOAUTH = "000401";

    /** 返回码：已禁止 -- 000403 */
    public static final String FORBIDDEN = "000403";

    /** 返回码：数据未找到 -- 000404 */
    public static final String NOTFOUNT = "000404";

    /** 返回码：请求超时 -- 000408 */
    public static final String TIMEOUT = "000408";

    /** 返回码：服务器错误 -- 000500 */
    public static final String SERVER_ERROR = "00500";


    /**
     * 渲染类型：PC端 -- pl_pc
     */
    public static final String RENDER_TYPE_PC = "pl_pc";
    /**
     * 渲染类型：二维码分享 -- pl_ercode
     */
    public static final String RENDER_TYPE_ERCODE_SHARE = "pl_ercode";
    /**
     * 渲染类型：移动端分享 -- pl_mobile
     */
    public static final String RENDER_TYPE_MOBILE_SHARE = "pl_mobile";

    public static final Integer SHIELD_STATUS = 999;

    /**支付状态，支付成功*/
    public static final String PAYMENT_STAUTS_SUCCESS = "SUCCESS";

    /**支付状态，支付失败*/
    public static final String PAYMENT_STAUTS_FINAL = "FINAL";

    /**支付状态，支付异常*/
    public static final String PAYMENT_STAUTS_UNUSUAL = "UNUSUAL";
}
